<include file="Public/header" title="单页列表" />

<div id="page-wrapper">

    <form action="{:U('Contact/contact_upload')}" enctype="multipart/form-data" method="post" >

        <foreach name="imgArr" key="ik" item="iv">
            <img src="__IMG__{$iv.fileurl}{$iv.filename}" alt="" style="border:2px solid #333;width:300px;height:450px;float:left;">
        </foreach>

        <foreach name="artArr" item="av">
            <ul class="contact-ul">
                <li><span>生产商:</span><input type="text" name="producer" value="{$av.producer}" / class="contactinput"></li>
                <li><span>公司地址:</span><input type="text" name="address" value="{$av.address}" / class="contactinput"></li>
                <li><span>联系方式:</span><input type="text" name="tel" value="{$av.tel}" / class="contactinput"></li>
                <li><span>邮箱:</span><input type="text" name="email" value="{$av.email}" / class="contactinput"></li>
            </ul>
        </foreach>
        <br><br>
        <input type='file' name='photo' class="file-buttons">
        <input type="submit" name="submit" value="更新文字" class="file-submit">
        <input type="submit" name="submit" value="更新图片" class="file-submit">
    </form>

</div>

<include file="Public/footer" />